package com.qkst.website.web.service;

import java.util.List;
import java.util.Map;

import com.qkst.website.web.bean.CommentBean;

/**
 * @author lihao
 * @description 评论 service
 * @date 2017-05-12
 * @email ahlxlihao@163.com
 */
public interface CommentService {

	/**
	 * 根据条件查询评论
	 * @param comment
	 * @return
	 */
	public List<CommentBean> queryCommentList(CommentBean comment);
	
	/**查询总记录数
	 * @param comment
	 * @return
	 */
	public int queryCount(CommentBean comment);

	/**
	 * 添加评论
	 * @param comment
	 * @param result 
	 * @return Map<String, Object>
	 */
	public void save(CommentBean comment, Map<String, Object> result);

	/**
	 * 删除评论
	 * @param comment
	 * @param result
	 */
	public void delete(CommentBean comment, Map<String, Object> result);


}
